<!-- 主页-报价单-新增 -->
<section id="container">
    <!--main content start-->
    <section id="main-content">
        <section class="wrapper">
            <!--state overview end-->
            <div class="row">
                <div class="col-lg-12">

                    <section class="panel">
                        <header class="panel-heading">
                            采购清单(输入请购单号点击搜索后，显示请购单内所有请购条目)
                        </header>
                        <div class="panel-body">
                            <div id="plistogContainer" class="dlshouwen-grid-container"></div>
                            <!-- <div id="purchaselistToolBarContainer" class="dlshouwen-grid-toolbar-container"></div> -->
                        </div>
                    </section>


                    <section class="panel shpriceox" style="display: none;">
                        <header class="panel-heading">
                            供应商报价
                        </header>
                        <div class="panel-body">
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">供应商名称</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" certus-required-polyfill certus_an_limit_length="50" ng-model="buyingQuoteItem.supplierName">
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">联系方式</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" certus-required-polyfill certus_an_limit_length="50" ng-model="buyingQuoteItem.supplierPhone" placeholder="联系人姓名+手机号码">
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">单价</label>
                                <div class="col-sm-10">
                                    <input type="text" certus_an_limit_length_num="50" certus-required-polyfill class="form-control" ng-model="buyingQuoteItem.priceIncludingTax">
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">数量</label>
                                <div class="col-sm-10">
                                    <input type="text" certus_an_limit_length_num="50" certus-required-polyfill class="form-control" ng-model="buyingQuoteItem.quantity">
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">总价</label>
                                <div class="col-sm-10">
                                    <input type="text" certus_an_limit_length_num="50" certus-required-polyfill class="form-control" ng-model="buyingQuoteItem.totalPrice">
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">地点</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" certus-required-polyfill certus_an_limit_length="50" ng-model="buyingQuoteItem.address">
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">规格(参数)</label>
                                <div class="col-sm-10">
                                    <textarea class="form-control" certus-required-polyfill certus_an_limit_length="50" ng-model="buyingQuoteItem.specification"></textarea>
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">备注说明</label>
                                <div class="col-sm-10">
                                    <textarea class="form-control" certus-required-polyfill certus_an_limit_length="50" ng-model="buyingQuoteItem.price" placeholder="例如：需要采购物品信息有误差，采购员补充说明采购物资信息，或者对价格的优惠折扣等说明。"></textarea>
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">交货期</label>
                                <div class="col-sm-10">
                                    <input type="text" certus-required-polyfill class="form-control" id="dateOfDeliveryId" placeholder="例如：5个工作日">
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">质保期</label>
                                <div class="col-sm-10">
                                    <input type="text" certus-required-polyfill class="form-control" id="guaranteePeriodId" placeholder="例如：三年质保">
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">付款方式</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" certus-required-polyfill certus_an_limit_length="50" ng-model="buyingQuoteItem.paymentMethod" placeholder="例如：票到60天付款">
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">优劣势</label>
                                <div class="col-sm-10">
                                    <textarea class="form-control" certus-required-polyfill certus_an_limit_length="50" ng-model="buyingQuoteItem.strengthsAndWeaknesses"></textarea>
                                </div>
                            </div>
                            <p class="default-buttons">
                                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="hdgs();">取消</a>
                                <a href="javascript:void(0);" class="button-next  btn btn-info btn-l10" ng-click="saveQuote()">确认</a>
                            </p>
                        </div>
                    </section>

                    <section class="panel">
                        <header class="panel-heading">
                            供应商报价列表(展示所有供应商报价，点击采购清单条目时再根据条件搜索)
                            <i class="add-icon icon-eye-open" onclick="showAllQuote();"> 全部</i>
                        </header>
                        <div class="panel-body">
                            <div id="pricelogContainer" class="dlshouwen-grid-container"></div>
                            <div id="priceToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
                        </div>
                    </section>

                    <section class="panel">
                        <header class="panel-heading">
                            留言
                        </header>
                        <div class="panel-body">
                            <div class="form-group customerForm">
                        
                                    <textarea class="form-control" maxlength="120" disabled ng-model="submmitData.purchasingMsg"></textarea>
                           
                            </div>
                        </div>
                    </section>

                    <section class="panel">
                            <div class="panel-body">
                                <p class="default-buttons">
                                    <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
                                    <a href="javascript:void(0);" class="button-next  btn btn-info" onclick="window.history.back()">确认</a>
                                </p>
                            </div>
                        </section>

                </div>
            </div>
        </section>
    </section>
    <!--main content end-->
</section>
<script src="js/CertusFileUpload.js"></script>
<script type="text/javascript" src="js/supplier/supplier.js"></script>
<script src="js/proinfo/purchase/comparisionExamineded.js"></script>
<div  ng-include="'templates/workflow/scheduled/processs.html'"></div>
